<div ng-if="pagedata.op=='get'" class="fui-page fui-page-current">
    <div class='fui-content' >
		
        <div class='fui-cell-group fui-cell-group-o'>
            <div class='fui-cell-title'>
                <div class='fui-cell-info' style='color:#999'>当前可提现金额: ￥
					<span id='current'>{{pagedata.yesget_money}}</span>
				</div>
            </div>
			<div class='fui-cell-title'>提现金额
                <small ng-if="pagedata.setting.min>0">提现额度最小为: <span class='text-danger'>￥{{pagedata.pluginset.minmoney}}</span></small>
            </div>
            <div class='fui-cell'>
                <div class='fui-cell-label big' style='width:auto;'>￥</div>
                <div class='fui-cell-info'><input type='text' class='fui-input' placeholder="0.00" style='font-size:1.2rem;' ng-model="pagedata.post.yesget_money" readonly></div>
            </div>
            <div class="fui-cell">
                <div class="fui-cell-label" style="width: 120px;"><span class="re-g">提现方式</span></div>
                <div ng-if="pagedata.post.fee_type!=1" class="fui-cell-info">
                    <select id="applytype" ng-model="pagedata.post.type">
                        <option value="0" ng-selected="pagedata.post.type=='0'">提现到微信钱包</option>
						<option value="1" ng-selected="pagedata.post.type=='1'">提现到支付宝</option>
						<option value="2" ng-selected="pagedata.post.type=='2'">提现到银行卡</option>
                    </select>
                </div>
				<div ng-if="pagedata.post.fee_type==1" class="fui-cell-info">
                    <select id="applytype" ng-model="pagedata.post.to_type">
						<option value="1" ng-selected="pagedata.post.to_type=='1'">提现到余额</option>
						<option value="2" ng-selected="pagedata.post.to_type=='2'">提现到微信钱包</option>
                    </select>
                </div>
                <div class="fui-cell-remark"></div>
            </div>
            <div ng-if="pagedata.post.to_type!='1'" class='fui-cell-title disabled'>提现手续费为 <text class='text-danger'> {{pagedata.pluginset.peisong_rate || 0}}</text>%</div>
            <div ng-if="pagedata.post.to_type!='1'" class='fui-cell-title charge-group disabled' style="padding-top:0">本次提现实际到账金额 ￥<text class='text-danger'> {{pagedata.get_price || '0.00'}}</text>
            </div>
        </div>
        <a id='btn-next' class='btn btn-success block ' ng-click="post(pagedata.post,'post')">提现</a>
    </div>
</div>
<script>
scope.pagedata.refresh=function(){
	scope.pagedata.item.service_money=(scope.pagedata.post.fee*scope.pagedata.setting.percent/100).toFixed(2);
	scope.pagedata.item.cash_money=(scope.pagedata.post.fee-scope.pagedata.item.service_money).toFixed(2);
}
</script>